#ifndef CONNEXION_HPP
#define CONNEXION_HPP

#include <QWidget>
#include <QGridLayout>
#include <QLabel>
#include <QSpinBox>
#include <QPushButton>

class Connexion : public QWidget
{
    Q_OBJECT

public:
    Connexion(QWidget * parent = 0);

private:
    QGridLayout * _layout;
    QLabel * _label;
    QSpinBox * _port;
    QPushButton * _button;

signals:
    void connexion(int);

private slots:
    void reactClick();
};

#endif // CONNEXION_HPP
